export const renderRegisterTrendChart = (xAxis:string[],yAxis:number[])=>{
    return {
        color: ['#BC86F9'],
        tooltip: {
            show: true,
            trigger: 'axis',
        },
        xAxis: {
            type: 'category',
            boundaryGap: false,
            data: xAxis,
            axisLabel: {
                color: '#A09E9E',
            },
            axisLine: {
                lineStyle: {
                    color: '#A09E9E',
                },
            },
            axisTick: {
                show: false,
            },
        },
        yAxis: {
            type: 'value',
            name: '人',
            axisLabel: {
                color: '#A09E9E',
            },
            splitLine: {
                lineStyle: {
                    color: '#D0D7E5',
                },
            },
        },
        grid: {
            top: 40,
            left: 20,
            bottom: 20,
            right: 40,
            containLabel: true,
        },
        series: [
            {
                smooth: true,
                data: yAxis,
                type: 'line',
                areaStyle: {
                    color: '#F2ECFF',
                },
                symbol: 'none',
            },
        ],
    };
}